package com.egreen.asset.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.egreen.common.pojo.DTO.asset.OperatePointRecordingDTO;
import com.egreen.common.pojo.entity.asset.OperatePointRecording;
import com.egreen.common.pojo.VO.asset.OperatePointRecordingVO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author cloudJiang
 * @since 2022-07-16
 */
public interface IOperatePointRecordingService extends IService<OperatePointRecording> {
    /**
     * 积分增加与减少
     *
     * @param operatePointRecordingDTO
     */
    void updateByPoint(OperatePointRecordingDTO operatePointRecordingDTO);

    /**
     * 通过用户ID查询积分操作记录
     *
     * @param pointAccountId
     * @return
     */
    List<OperatePointRecordingVO> selectPointById(Long pointAccountId);
}

